<template>
  <div id="quehuo">
    <div class="message">
      <div class="news">缺货中...</div>
      <h3>房间306</h3>
      <span>柜机编号：95124587</span>
      <div class="status outline">离线</div>
    </div>
    <div class="title">当前柜机需要补货商品</div>
    <div class="buhuo">
      <div class="li">
        <h4>1号柜箱</h4>
        <div class="det">
          <img src="../../../assets/del1.png" alt="">
          <p>杜蕾斯 避孕套 男用 安全套超薄尊享三合一男用 安全套超男用 安全套</p>
        </div>
      </div>
      <div class="li">
        <h4>5号柜箱</h4>
        <div class="det">
          <img src="../../../assets/del2.png" alt="">
          <p>南极人睡衣女冬季法兰绒加厚</p>
        </div>
      </div>
      <div class="li">
        <h4>6号柜箱</h4>
        <div class="det">
          <img src="../../../assets/del3.png" alt="">
          <p>女空姐校花制服诱惑组合套装</p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Quehuo',
  created () {
    document.title = '缺货信息'
  }
}
</script>

<style lang='scss' scoped>
#quehuo{
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  .message{
    height: 44.8vw;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    .news{
      width: 29.33vw;
      height: 7.73vw;
      text-align: center;
      line-height: 7.73vw;
      background-color: #FF0000;
      border-radius:0px 13.33vw 13.33vw 0px;
      font-size: 5.6vw;
      font-family:SourceHanSansCN-Bold;
      font-weight:bold;
      color:rgba(255,255,255,1);
      margin-top: 4.8vw;
    }
    h3{
      font-size: 7.46vw;
      font-family:SourceHanSansCN-Bold;
      font-weight:bold;
      color:rgba(22,22,22,1);
      margin: 8vw 0 5.33vw 3.46vw;
    }
    span{
      font-size: 4.53vw;
      font-family:SourceHanSansCN-Regular;
      font-weight:400;
      color:rgba(168,168,168,1);
      margin-left: 3.46vw;
    }
    .status{
      width: 14.44vw;
      height: 7.73vw;
      text-align: center;
      line-height: 7.73vw;
      border-radius: 0.8vw;
      font-size: 4.53vw;
      font-family:SourceHanSansCN-Bold;
      font-weight:bold;
      position: absolute;
      right: 3.46vw;
      top: 29.06vw;
      &.outline{
        color:rgba(255,0,0,1);
        background-color: #FFF5F5;
      }
      &.inline{
        color:rgba(10,109,255,1);
        background-color: #F3F8FF;
      }
    }
  }
  .title{
    height: 12.26vw;
    line-height: 12.26vw;
    padding: 0 3.46vw;
    font-size: 5.6vw;
    font-family:SourceHanSansCN-Regular;
    font-weight:400;
    color:rgba(255,0,0,1);
  }
  .buhuo{
    box-sizing: border-box;
    .li{
      background-color: #fff;
      &:last-child{
          margin-bottom: 8vw;
        }
      h4{
        height: 5.66vw;
        padding: 4.53vw 3.46vw;
        font-size: 5.6VW;
        font-family:SourceHanSansCN-Bold;
        font-weight:bold;
        color:rgba(22,22,22,1);
      }
      .det{
        height: 48vw;
        padding: 0 3.46vw;
        display: flex;
        align-items: center;
        margin-bottom: 4vw;
        img{
          width: 40vw;
          height: 40vw;
          margin-right: 2vw;
        }
        p{
          width: 51.73vw;
          font-size: 5.6vw;
          font-family:SourceHanSansCN-Bold;
          font-weight:bold;
          color:rgba(22,22,22,1);
          line-height: 7.5vw;
        }
      }
    }
  }
}
</style>
